"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const taro_1 = require("@tarojs/taro");
const taro_ui_1 = require("taro-ui");
const components_1 = require("@tarojs/components");
require("./index.scss");
class default_1 extends taro_1.Component {
    render() {
        const { avatar, data } = this.props;
        console.log(data, 'aaaaaaa');
        return (<components_1.View className='avatar'>
                {data.data && data.data.map((item, k) => (<components_1.View className='cell' key={k} style={{ left: taro_1.default.pxTransform(57 * (k + 3)), zIndex: k + 1 }}>
                            <taro_ui_1.AtAvatar circle size='small' image={item.avatarUrl}></taro_ui_1.AtAvatar>
                        </components_1.View>))}
            </components_1.View>);
    }
}
default_1.defaultProps = {
    avatar: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
    data: []
};
exports.default = default_1;
//# sourceMappingURL=index.jsx.map